package com.itheima.health.service;

import com.itheima.health.dto.OrderMessageDTO;
import com.itheima.health.dto.OrderSettingDTO;
import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.pojo.Order;
import com.itheima.health.vo.OrderSubmitParam;

import java.util.List;
import java.util.Map;

/**
 * 预约Service
 */
public interface OrderService {

    /**
     * 新增体检预约订单
     * @param orderSubmitParam 预约信息
     */
    Order saveOrder(OrderSubmitParam orderSubmitParam);


    /**
     * 根据id查询体检订单详情
     * @param id 订单id
     */
    OrderMessageDTO getOrderMessage(Integer id);
}
